package com.ll.daipao.service;

import com.ll.daipao.dao.AccountMapper;
import com.ll.daipao.dto.Account;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by ll on 2017/9/25.
 */
@Service
public class AccountService {
    @Autowired
    AccountMapper accountMapper;
    public List<Account> getAllAccount(){
        return accountMapper.selectAllAccount();
    }
}
